# uncompyle6 version 3.2.3
# Python bytecode 3.6 (3379)
# Decompiled from: Python 3.6.8 |Anaconda custom (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
# Embedded file name: scanners\exceptions.py
__author__ = "Tibor, Attila Gerendi (Sanyi)"


class ScanConfigError(Exception):
    pass


class DependentFileError(ScanConfigError):
    """a file on which the scan job depends is invalid"""

    def __init__(self, reason):
        super().__init__()
        self.reason = reason


class DependentFileMissing(DependentFileError):
    """a file on which the scan job depends is invalid"""

    def __init__(self, filename):
        super().__init__('Dependent file is missing "%s"' % filename)


class InvalidDependentFile(DependentFileError):
    """invalid dependent file specification"""

    def __init__(self, url):
        super().__init__('Invalid dependence "%s"' % url)
